package com.xz.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration                                  //表示当前类是一个配置类(代替xml配置文件)
@ComponentScan(basePackages = "com.xz")    //开启组件扫描(扫描当前com.atguigu包及其子包)
public class SpringConfig {
}
